# 在程序中我们通过布尔类型来表达真和假，True/False，本质上True记作1，False记作0
boolean_value = True
print(boolean_value)
print(type(boolean_value))

# 比较运算符
# == 判断是否相等，满足为True，不满足为False，对于字符串，只比较其内容
# != 判断是否不相等，满足为True，不满足为False
# > 判断是否大于，满足为True，不满足为False
# < 判断是否小于，满足为True，不满足为False
# >= 判断是否大于等于，满足为True，不满足为False
# <= 判断是否小于等于，满足为True，不满足为False
result = 10 == 5
print(f"10 == 5：{result}")  # False

result = 10 != 5
print(f"10 != 5：{result}")  # True

result = 10 > 5
print(f"10 > 5：{result}")  # True

result = 10 < 5
print(f"10 < 5：{result}")  # False

result = 10 >= 5
print(f"10 >= 5：{result}")  # True

result = 10 <= 5
print(f"10 <= 5：{result}")  # False

name1 = "DongCha"
name2 = "DongCha"
print(f"name1 == name2：{name1 == name2}")
